$(document).ready(function () {

	$('.detail_imgs_sm').hover(function () {
		var src = $(this).attr("src");
		$('#detail_img_lg').attr("src", src);

	});


	/***默认色卡**/
	var colorDefault = $('#detail_colors img')[0];
	$(colorDefault).addClass("detail_colors_item");

	$('#detail_colors img').click(function () {
		$('#detail_colors img').removeClass("detail_colors_item");
		$(this).addClass("detail_colors_item");
	});

	//展示或关闭 app 下载引导
	$('#detail_buy').click(function () {
		$('#detail_buy_guide').toggle();
	});

});
